package com.situ.mall.service.impl;

import com.situ.mall.mapper.OrderItemMapper;
import com.situ.mall.pojo.vo.ProductOrderVO;
import com.situ.mall.service.IOrderItemService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class OrderItemServiceImpl implements IOrderItemService {
    @Autowired
    private OrderItemMapper orderItemMapper;

    @Override
    public List<ProductOrderVO> selectData() {
        return orderItemMapper.selectData();
    }

    @Override
    public List<ProductOrderVO> selectMonth() {
        return orderItemMapper.selectMonth();
    }
}
